export interface IGetPermission {
  providerName: string
  providerKey: string
}

export interface IPermission {
  name: string
  displayName?: string
  parentName?: string
  isGranted: boolean
  allowedProviders?: string[]
  grantedProviders?: IGetPermission[]
}

export interface IGroup {
  displayName: string
  name: string
  permissions: IPermission[]
  data?: any
}

export interface IGetPermissionRes {
  entityDisplayName: string
  groups: IGroup[]
}
